package com.cloudbroker.bcs.csvc.uf30.api.constants.type;

/**
 * Created by xuyn15828 on 2016/5/21.
 */
public enum TransStatus {
    WEI_BAO                 ("0", "未报"),
    YI_BAO                  ("1", "已报"),
    CHENG_GONG              ("2", "成功"),
    ZUO_FEI                 ("3" , "作废"),
    DAI_CHE                 ("4" , "待撤"),
    CHE_XIAO                ("5" , "撤销"),
    DAI_CHONG_ZHENG         ("7" , "待冲正"),
    YI_CHONG_ZHENG          ("8" , "已冲正"),
    CHU_LI_ZHONG            ("9" , "处理中"),
    CHONG_FA_DAI_BAO        ("A" , "重发待报"),
    CHONG_FA_YI_BAO         ("B" , "重发已报"),
    CHONG_FA_CHAO_SHI       ("C" , "重发超时"),
    CHONG_ZHENG_CHAO_SHI    ("D" , "冲正超时"),
    CHONG_ZHENG_SHI_BAI     ("E" , "冲正失败"),
    CHONG_ZHENG_DAI_BAO     ("G" , "冲正待报"),
    ZHENG_BAO               ("P" , "正报"),
    ;

    private final String val;
    private final String description;

    TransStatus(String val,String description) {
        this.description = description;
        this.val = val;
    }

    public String getDescription() {
        return description;
    }

    public String getVal() {
        return val;
    }
}
